package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Operator;
import cn.wolfcode.crm.util.PageResult;

import java.util.List;

public interface IOperatorService {

    void save(Operator operator);

    void update(Operator operator);

    void delete(Long id);

    Operator get(Long id);

    PageResult list();

    List<Operator> listAll();

    void insertOperatorRole(Operator operator);

    void updateOperatorRole(Operator operator);

    void deleteOperatorRole(Long id);
}
